package org.idea.spring.task.task;

import org.idea.spring.task.annotation.CronBean;
import org.springframework.stereotype.Component;

/**
 * @author idea
 * @data 2019/1/15
 */
@Component
@CronBean(name = "TaskTest1")
public class Test1 implements Runnable{



    @Override
    public void run() {
        System.out.println("this ");
    }
}
